<!--
 * @Description: 
 * @version: 
 * @Author: 尹鹏孝
 * @Date: 2022-01-12 17:32:40
 * @LastEditors: 尹鹏孝
 * @LastEditTime: 2022-01-12 17:32:40
-->
<script>
    var json = '{"name":"小姐姐", "age":20}';
    var obj = (new Function('return ' + json))();
    console.log('输出：', obj);
</script>